@charset 'utf-8';
* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  font-family: PingFangSC-Regular;
  font-size: 14px;
  color: #333;
}

.in-block {
  padding: 0 10px;
  display: block;
}

.cirmall-ad {
  background: #fff;
  border: 0;
  width: 100%;
  max-width: 201px;
  position: relative;
  border-radius: 4px;
  color: #353535;
  overflow: hidden;
}

.ad-icon {
  position: absolute;
  top: 4px;
  right: 12px;
}

/* .cirmall-ad:hover {
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.cirmall-ad:hover .ad-more {
  display: inline-block;
} */

.ad-pic {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.ad-pic img {
  width: 100%;
  height: 100%;
}

.ad-title {
  font-size: 13px;
  color: #333;
  height: 47px;
  padding-top: 9px;
  line-height: 1.4;
  word-break: break-all;
  overflow: hidden;
  font-weight: 700;
}

.ad-desc {
  height: 56px;
  line-height: 14px;
  color: rgba(170, 170, 170, 1);
  font-size: 12px;
  overflow: hidden;
}

.ad-company {
  padding-top: 5px;
  padding-bottom: 14px;
}

.ad-company img {
  width: 25px;
  height: 25px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
}

.ad-company span {
  display: inline-block;
  max-width: 140px;
  height: 18px;
  color: rgba(0, 0, 0, 1);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: middle;
  overflow: hidden;
}

.ad-more {
  display: none;
  position: absolute;
  z-index: 1;
  margin: 10px;
  padding: 6px 28px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
}

.ad-more:hover {
  text-decoration: none;
  background: #ebebeb;
  opacity: 1;
  color: #333;
  border-color: #adadad;
}

@media (max-height: 305px) {
  .ad-pic {
    height: 100px;
  }
  .ad-title {
    font-size: 12px;
    height: 40px;
    line-height: 1.8;
    padding: 5px;
    overflow: hidden;
  }
  .ad-desc {
    padding: 5px;
    height: 37px;
  }
}
@media (max-height: 305px) {
  .ad-company span {
    font-size: 10px;
  }
}